[INFO] cloning repository https://github.com/pixlark/rust-2048
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixlark/rust-2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342
[INFO] building pixlark/rust-2048 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pixlark/rust-2048
[INFO] finished tweaking git repo https://github.com/pixlark/rust-2048
[INFO] tweaked toml for git repo https://github.com/pixlark/rust-2048 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/pixlark/rust-2048 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand_isaac v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3620fa450c2904f8e0afc433941cc218a777d693184f3b04c13d175e667490fa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3620fa450c2904f8e0afc433941cc218a777d693184f3b04c13d175e667490fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3620fa450c2904f8e0afc433941cc218a777d693184f3b04c13d175e667490fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3620fa450c2904f8e0afc433941cc218a777d693184f3b04c13d175e667490fa", kill_on_drop: false }`
[INFO] [stdout] 3620fa450c2904f8e0afc433941cc218a777d693184f3b04c13d175e667490fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5534826c6aa434535960df039b62e69c1bddc7c5a2088ef6e71944e661cf5ab
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c5534826c6aa434535960df039b62e69c1bddc7c5a2088ef6e71944e661cf5ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling game-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stdout] warning: unused import: `sdl2::video::WindowContext`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::video::WindowContext;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `v2` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct v2 {
[INFO] [stdout]    |        ^^ help: convert the identifier to upper camel case (notice the capitalization): `V2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead
[INFO] [stdout]    --> src/main.rs:267:32
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let choice: u64 = *rng.choose(&[2, 4]).unwrap();
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state_stack`
[INFO] [stdout]    --> src/main.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_stack`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_fitness`
[INFO] [stdout]    --> src/main.rs:270:8
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn get_fitness(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `PlayingState`
[INFO] [stdout]    --> src/main.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | struct PlayingState {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `color_map` should have an upper case name
[INFO] [stdout]   --> src/main.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     static ref color_map: HashMap<u64, Color> = {
[INFO] [stdout]    |                ^^^^^^^^^ help: convert the identifier to upper case: `COLOR_MAP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 | /                     canvas.copy(
[INFO] [stdout] 160 | |                         &texture,
[INFO] [stdout] 161 | |                         None,
[INFO] [stdout] 162 | |                         Some(Rect::new(
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | |                         )),
[INFO] [stdout] 168 | |                     );
[INFO] [stdout]     | |______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-2048`
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.418eeopbwgmkxysd.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-4ba9c026e96e4251.rlib" "/opt/rustwide/target/debug/deps/libsdl2-fe34f4c7df23e29e.rlib" "/opt/rustwide/target/debug/deps/librand-7b6c81f2cfe3f948.rlib" "/opt/rustwide/target/debug/deps/librand-7df4bf2b096065c8.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-f08e97baef68bda0.rlib" "/opt/rustwide/target/debug/deps/libbitflags-451632c3bdd53d67.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-dbe219c565973cc2.rlib" "/opt/rustwide/target/debug/deps/libnum-4535e4ce007bf66c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9b3c910537d75c98.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e67644c1b5d64fa6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a616ef0b114947c8.rlib" "/opt/rustwide/target/debug/deps/librand-49c337dafbcafae8.rlib" "/opt/rustwide/target/debug/deps/liblibc-981b8f56645ced90.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-09885145c87a592a.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-656677771e74bc31.rlib" "/opt/rustwide/target/debug/deps/librand_hc-1b41c3ebe76ed6a7.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-093bb29291aa3b47.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-c2b6c5a0b5d16c1b.rlib" "/opt/rustwide/target/debug/deps/librand_core-3156305059e3b6e2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6dddd3d354e6bea.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c2ca47afdcc5e309.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b47be2942017e108.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-20a1e49116ab0df9.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-25e09d9868291683.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9c99fb6e5ca5159e.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-85040d7563599960.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0e4f7587da8acf20.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7be0a6711ed15b5c.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00672fabc4ff9c9d.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-72fe231ef0473d15.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-019d54ecc304b655.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-cc7d9343e4f608be.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9849bb0fbad7f0f5.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b33f9cbbc9652fe.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_ttf
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "c5534826c6aa434535960df039b62e69c1bddc7c5a2088ef6e71944e661cf5ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5534826c6aa434535960df039b62e69c1bddc7c5a2088ef6e71944e661cf5ab", kill_on_drop: false }`
[INFO] [stdout] c5534826c6aa434535960df039b62e69c1bddc7c5a2088ef6e71944e661cf5ab
